/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;
import javax.swing.event.TableModelEvent;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import module.Student;

/**
 *
 * @author rog
 */
public interface StudentDao {
    public List<Student> updateTable();
    public Student getStudent();
    public boolean addStudent(Student s);
    public boolean updateDatabase(TableModelEvent e,TableModel cartModel);
    public void getTestData(DefaultTableModel cartModel);
    public void deleteSelected(List<Object[]> batchArgs);
    public void clearAll();
    public void deleteById(String id);
    public List<Student> query ();
    public void queryById(javax.swing.JTextArea resultTextArea1,String input_id);
    public void getBarChart(String input_id);
    public boolean login(String inputAccount,String inputPassword);
    public void registered(String inputAccount,String inputPassword);
}
